package com.hankai.service;

import com.hankai.common.ServerResponse;

import java.util.Map;

/**
 * Created by hankai on 2017/6/9.
 */
public interface IOrderService {
    ServerResponse pay(Long orderNo, Integer userId, String path);
    ServerResponse alipayCallback(Map<String,String> params);

    ServerResponse queryOrderPayStatus(Long orderNo, Integer userId);
    ServerResponse createOrder(Integer userId,Integer shippingId);

    ServerResponse cancelOrder(Integer userId, long orderNo);

    ServerResponse getCartProduct(Integer userId);

    ServerResponse orderDetail(Integer userId, long orderNo);

    ServerResponse list(Integer userId, Integer pageNum, Integer pageSize);
    ServerResponse manageList( Integer pageNum, Integer pageSize);

    ServerResponse orderSearch(long orderNo,Integer pageNum,Integer pageSize);

    ServerResponse manageSendGoods(long orderNo);
}
